package com.itheima.dao.impl;

import com.itheima.dao.UserDao;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Properties;

@Component("userDao")
public class UserDaoImpl implements UserDao {
    private List<String> all;
    private Properties properties;

    public void setAll(List<String> all) {
        this.all = all;
    }

    public void setProperties(Properties properties) {
        this.properties = properties;
    }

    public void save() {
        System.out.println("dao...");
        System.out.println(all);
        System.out.println(properties);
    }
}